include_directories(${QT_INCLUDES} ${CMAKE_CURRENT_BINARY_DIR})
set(V4LBridgeStaticLib_SRCS v4ldevicesfinder.cpp videooutputdevice.cpp videoinputdevice.cpp videodevice.cpp videodeviceinformation.cpp )
qt4_automoc(${V4LBridgeStaticLib_SRCS})
add_library( V4LBridgeStaticLib STATIC ${V4LBridgeStaticLib_SRCS})
target_link_libraries(V4LBridgeStaticLib -lavformat -lswscale ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY}  )

#add_subdirectory(qtInterfaces)